/**
 * 
 */
package name.yzhu.httpserver.method;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * this interface is used to check the method if it has the permission
 * @author yhzhu
 *
 */
public interface IMethodAuthorized {
	/**
	 * 
	 * @param req
	 * @param res
	 * @return
	 */
	boolean check(HttpServletRequest req, 
			HttpServletResponse res, MethodDelcleare md) throws IllegalAccessException;
}
